$.ajaxSetup({
	dataType: "xml",
	error: function(jqXHR, textStatus, errorThrown) {
		alert("Internal server error.");
	},
	type: "POST"
});